package pile.customer.mapper;

import pile.customer.entity.SettingWechat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭天义
 * @since 2024-07-09
 */
@Repository
public interface SettingWechatMapper extends BaseMapper<SettingWechat> {

    /**
     * 获取小程序的 appid 和secret
     * @param channel
     * @return
     */
    SettingWechat selectByMiniChannel(Integer channel);
}
